import request from '@/utils/request'

// 获取网校域名设置信息
export function getDomainName(params) {
  return request({
    url: '/ops/distributionDomainSetting/getDistributorDomainSetting',
    method: 'get',
    params: { tenantId: params }
  })
}

// 新增或修改网校域名设置
export function saveOrUpdateDomainName(data) {
  return request({
    url: '/ops/distributionDomainSetting/addOrUpdateDomainSetting',
    method: 'post',
    data
  })
}
